-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index is strftime formatted, fixes #454 #512
Conversation
plugins/out_es/es.c
Outdated
index_len = snprintf(j_index, | ||
ES_BULK_HEADER, | ||
ES_BULK_INDEX_FMT, | ||
ctx->index, ctx->type); | ||
es_index, ctx->type); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this ok when ctx->current_time_index == FLB_FALSE ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onorua Did you address this question?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind. Looks not relevant in the latest.
ping |
I have updated the PR, just for you to know |
@onorua I think you need to amend your commit with the Also, not sure why the tests are failing with this error:
Your change seems not to touch this, and the failing code block in your branch isn't the same in master, so perhaps rebasing will fix it? |
8c21fc3
to
e3bf5b2
Compare
Signed-off-by: Yaroslav Molochko <[email protected]>
e3bf5b2
to
f80ea98
Compare
@StevenACoffman have you tried the changes on this PR? |
@onorua in order to close/merge this one, would you please rebase your changes on top of GIT master ? |
Sure, will do on Monday. |
done |
The following patch introduce a new boolean configuration option called 'current_time_index'. When enabled all records and index will take the current time instead of record time. Signed-off-by: Eduardo Silva <[email protected]>
The following patch introduce a new boolean configuration option called 'current_time_index'. When enabled all records and index will take the current time instead of record time. Signed-off-by: Eduardo Silva <[email protected]>
PR merged as a separate commit with required changes: 455eae0 |
The following patch introduce a new boolean configuration option called 'current_time_index'. When enabled all records and index will take the current time instead of record time. Signed-off-by: Eduardo Silva <[email protected]>
Fix minor grammatical error. Signed-off-by: Madhu Kashyap <[email protected]>
fluentd does support index time templating, fluent bit - does not. This PR should fix that.